JBoss Community Archive (Read Only)

Teiid 8.0

ORDER BY Clause

The ORDER BY clause specifies how records should be sorted. The options are ASC (ascending) and DESC (descending).

Usage:

ORDER BY expression \[ASC|DESC] \[NULLS \(FIRST|LAST)], ...

Syntax Rules:

Warning

The use of positional ordering is no longer supported by the ANSI SQL standard and is a deprecated feature in Teiid. It is preferable to use alias names in the order by clause.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-13 12:00:41 UTC, last content change 2012-05-01 16:12:57 UTC.